package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.user.TruckDriverDto;
import com.itheima.pinda.common.utils.PageResponse;
import com.itheima.pinda.entity.user.PdTruckDriver;

import java.util.List;

public interface PdTruckDriverService extends IService<PdTruckDriver> {


    TruckDriverDto saveTruckDriver(TruckDriverDto dto);

    List<TruckDriverDto> findAllDriver(List<String> userIds, String fleetId);

    PageResponse<TruckDriverDto> findByPage(Integer page, Integer pageSize, String fleetId);
}
